<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台登录</title>
</head>
<%
String msg = request.getParameter("msg");

%>
<body>
<div class="container">
	<form class="form-signin" action="../servlet/admin_login.do" method="post">
		<h2 class="form-signin-heading">Please sign in </h2>
		<label for="loginName" class="sr-only">用户名</label>
		<input type="text" id="loginName" name="loginName" class="form-control" placeholder="用户名" required="true" autofocus=""><br/>
		<label for="password" class="sr-only">密码</label>
		<input type="text" id="password" name="password" class="form-control" placeholder="Password" required="true"><br/>
		 <button class="block" type="submit">Sign in</button>
		   <% if (msg != null && !"".equals(msg)) {%>
        		<span><%=msg %></span>
        	<% } %>
	</form>
	<a href="../footer.jsp">回首页</a>
    </div>
</div>
</body>
</html>